API Documentation
Layout.h
1 // Layout.h
3 //
5 
6 namespace nkWinUi
7 {
12  {
13  public :
14 
20  Layout (MainSystem* parentSystem) ;
24  virtual ~Layout () ;
25 
26  // Getters
34  LAYOUT_TYPE getType () const ;
35 
36  // Setters
44  virtual void setParentComponent (Component* parent) ;
45 
46  // Components
52  virtual void removeComponent (Component* component) = 0 ;
53 
59  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
65  virtual void exportComponentsNodeEntry (nkExport::Node* rootNode) ;
71  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
77  virtual void processComponentsNodeEntry (nkExport::Node* rootNode) ;
78 
82  virtual void update () = 0 ;
83  } ;
84 }
nkWinUi::Layout::~Layout
virtual ~Layout()
nkWinUi::LAYOUT_TYPE
LAYOUT_TYPE
Defines the type of layout available.
Definition: LayoutType.h:12
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkWinUi::Layout::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkWinUi::Layout
Represents a layout to organize children of a component.
Definition: Layout.h:12
nkWinUi::Layout::getType
LAYOUT_TYPE getType() const
nkWinUi::Layout::setParentComponent
virtual void setParentComponent(Component *parent)
nkWinUi::Component
Base class for any graphical component.
Definition: Component.h:12
nkWinUi::Layout::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkWinUi::Layout::getParentComponent
Component * getParentComponent() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkWinUi::MainSystem
The main system of the component.
Definition: MainSystem.h:18
nkWinUi::Layout::Layout
Layout(MainSystem *parentSystem)
nkWinUi::Layout::exportComponentsNodeEntry
virtual void exportComponentsNodeEntry(nkExport::Node *rootNode)
nkWinUi::Layout::update
virtual void update()=0
nkWinUi::Layout::processComponentsNodeEntry
virtual void processComponentsNodeEntry(nkExport::Node *rootNode)
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
nkWinUi::Layout::removeComponent
virtual void removeComponent(Component *component)=0